package Practice;

public class FindTheSum {
    public static int Sum(int num){
        if(num==1)return 1;
        return num+Sum(num-1);
    }

    public static void main(String[] args) {
        System.out.println(Sum(10));
    }
}
